 <div class="setLeft">
    	<h3>编辑个人资料</h3>
    	<dl>
    		<dt>昵称</dt>
            <dd><input type="text" id="nickname" class="txt"<#if user.nickname??>value="${user.nickname}" defaultValue="${user.nickname}"</#if>/></dd>
            <dt>真实姓名</dt>
            <dd><input type="text" id="trueName" class="txt" <#if user.trueName??>value="${user.trueName}"</#if>/></dd>
            <dt>生日(年-月-日)</dt>
            <dd><input type="text" id="birth" onClick="WdatePicker({isShowClear:false,readOnly:true,lang:'zh-tw'})" class="txt"  <#if user.birth??>value="${user.birth?string("yyyy-MM-dd")}"</#if> readonly="true"/></dd>
            <dt>自传</dt>
            <dd class="sett_intro">
            	<textarea class="txt" id="summary"><#if user.summary??>${user.summary}</#if></textarea>
            	<div class="txt_count">
                	<span class="curSize">0</span>/<strong class="maxSize">250</strong>
                </div>
            </dd>
            <dt>邮箱</dt>
            <dd><input type="text" id="email" class="txt"<#if user.email??>value="${user.email}" defaultValue="${user.email}"</#if>/></dd>
            <dt>网站名</dt>
            <dd><input type="text" id="websiteName" class="txt"  <#if user.websiteName??>value="${user.websiteName}"</#if> /></dd>
            <dt>网站url</dt>
            <dd><input type="text" id="websiteUrl" class="txt"  <#if user.websiteUrl??>value="${user.websiteUrl}"</#if> /></dd>
            <dd class="Gender">性别&nbsp;&nbsp;
            <select id="gender">
                <option  value="1" <#if user.gender?? && user.gender = 1>selected="selected"</#if> >男</option>
                <option value="2" <#if user.gender?? && user.gender = 2>selected="selected"</#if> >女</option>
            </select></dd>
            <dt>密码</dt>
            <dd><input  id="password1" class="txt" type="password"/></dd>
            <dt>密码确认</dt>
            <dd><input id="password2" class="txt" type="password"/></dd>
           <!--<dt class="emaiTipSet"><a href="##">编辑</a>邮箱提醒设置</dt>---> 
        </dl>
    </div>
    <div class="setRight">
        <div class="MyAvatar">
        	<h3>修改头像</h3>
            <dl class="avatarDiv">
            	<dt>
            		<p class="curTou" avatarPic="${user.avatarPath}">
            			图片预览区域
            		</p>
            	</dt>
                <dd>当前头像</dd>
                <dd>
                	<a id="change" class="changeTou" onclick="avatarChange()">修改</a>
                	<form id="uploadImageForm" enctype="multipart/form-data" method="post">
                		<a href="###" class="changeTou" id="select" style="display:none">选择
                			<input name="uploadPic" type="file"  class="opacity" onchange="uploadImage();"/>
                		</a>
                	</form>
            		<form id="AvatarForm" action="">
						<input id="x" name="x" type="hidden">
						<input id="y" name="y" type="hidden">
						<input id="w" name="w" type="hidden">
						<input id="h" name="h" type="hidden">
						<a id="BtnSaveAvatar" class="changeTou" style="display:none">保存</a>
					    <a id="BtnCancleAvatar" id="cancle" class="changeTou" style="display:none" onclick="avatarCancle()">取消</a>
				</form>
                </dd>
            </dl>
        </div>
    </div>
    <div class="clear"></div>
    <p class="savSetting"><a href="###" onclick="validateUserInfo()">保存修改</a></p>